<?php
    $logoutUrl = array(
        Lua_Constant_General::PARAM_CONTROLLER => "user",
        Lua_Constant_General::PARAM_ACTION => "logout"
    ); 
    $manageProfileUrl = array(
        Lua_Constant_General::PARAM_CONTROLLER => "user",
        Lua_Constant_General::PARAM_ACTION => "profile"
    ); 
    $detailUserUrl = array(
        Lua_Constant_General::PARAM_CONTROLLER => "detailUser",
        Lua_Constant_General::PARAM_ACTION => "index"
    );
?>
<?php if (!is_null($this->loggedUser->id)) :?>
<div class="manager_account">
    <strong class="link_blue"><a href="<?php echo $this->url($detailUserUrl);?>"><?php echo $this->loggedUser->full_name;?></a></strong> 
    <div class="link_blue"><a href="<?php echo $this->url($manageProfileUrl);?>">Quản lý tài khoản</a> | <a href="<?php echo $this->url($logoutUrl);?>">Thoát</a></div>
</div>
<?php endif?>